//! 测试模块
//! 包含集成测试和单元测试

pub mod integration_tests;

pub use integration_tests::*;

/// 运行所有测试的便捷函数
pub async fn run_all_tests() -> crate::Result<integration_tests::TestReport> {
    let mut suite = integration_tests::IntegrationTestSuite::new().await?;
    suite.run_all_tests().await
}

/// 快速健康检查测试
pub async fn quick_health_check() -> crate::Result<bool> {
    let _suite = integration_tests::IntegrationTestSuite::new().await?;
    // 这里可以添加快速的健康检查逻辑
    Ok(true)
}